The phrase "to ride on" means to travel or move while being supported by something. It can refer to a variety of modes of transportation, such as riding in a car, bus, train, bicycle, horse, etc., or even flying in an airplane. The important thing is that the person is not walking but rather being carried along by some means of conveyance.